import { IPlayer, IRoom } from './Api'
import { IClientInput, IState } from './State'

export interface IMsgClientSync {
  input: IClientInput
  frameID: number
}
export interface IMsgServerSync {
  inputs: IClientInput[]
  lastFrameID: number
}

export interface IMsgPlayerList {
  list: IPlayer[]
}

export interface IMsgRoomList {
  list: IRoom[]
}

export interface IMsgRoom {
  room: IRoom
}

export interface IMsgGameStart {
  state: IState
}
